package vashion.azeroth.crm.service;

import vashion.azeroth.core.result.ApiResult;

public interface CrmWriteService {

	/**
	 * 买家付款后同步到ERP系统
	 * 
	 * 备注：只有买家付款才可以同步，同时减库存
	 *
	 * */
	public ApiResult<String> syncOrderToErp(String orderNO, int orderType);

	/**
	 * 
	 * 同步商品库存
	 * 
	 * */
	public ApiResult<Boolean> syncItemSkuStock(Long itemId, Long skuId,
			Integer num, Boolean isAdd);

}
